package com.qimu.saiyou.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qimu.saiyou.model.dto.friendsapply.FriendApplyRequest;
import com.qimu.saiyou.model.entity.FriendsApply;
import com.qimu.saiyou.model.entity.User;

/**
* @author: FeiXiang
* @description 针对表【friends_apply(好友申请表)】的数据库操作Service
* @createDate 2024-04-19 20:49:35
*/
public interface FriendsApplyService extends IService<FriendsApply> {

    boolean applyFriend(User loginUser, FriendApplyRequest friendApplyRequest);

    boolean agreedFriend(User loginUser, long id);

    boolean refusedFriend(User loginUser, long id);

    boolean revokeFriend(User loginUser, long id);
}
